package cbh.tool.scheduler.domain;

import cbh.tool.scheduler.core.Task;

import java.awt.print.Pageable;

/**
 * Created by hx-pc on 16-4-5.
 */
public interface SchedulerTask {

    //cronExpression表达式
    void append(int times, String cronExpression, Task task);

    void modify(long id, int times, String cronExpression, Task task);

    void cancel(long id);

    void query(Pageable pageable);
}
